<template>
  <div>

    <router-view></router-view>
    <ServiceBar></ServiceBar>
    <nav-footer></nav-footer>
  </div>
</template>
<script>
  import OrderHeader from './../components/OrderHeader'
  import ServiceBar from './../components/ServiceBar'
  import NavFooter from './../components/NavFooter'
  export default{
    name:'order',
    data() {
      return {
        title:'',
        tip:''
      }
    },
    components:{
      OrderHeader,
      NavFooter,
      ServiceBar
    },
    // mounted() {
    //   let path=this.$route.path
    // //  console.log(path);
    //  if(path=='/order/confirm'){
    //   this.title='订单确认'
    //   this.tip='请你认真填写收货地址'
    //  }else if(path=='/order/list'){
    //   this.title='订单列表'
    //   this.tip='别被骗了，保证你订单列表的安全'
    //  }else if(path=='/order/pay'){
    //   this.title='订单支付'
    //   this.tip='请小心陌生来电诈骗电话，已确保您的订单支付安全'
    //  }else{
    //    this.title='订单支付'
    //    this.tip='请小心陌生来电诈骗电话，已确保您的订单支付安全'
    //  }
    // },
  }
</script>